package com.eastfair.venuebooking.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.eastfair.boot.request.PageParams;
import com.eastfair.venuebooking.dto.BusinessOpportunityQuery;
import com.eastfair.venuebooking.dto.SalesAnalysisDTO;
import com.eastfair.venuebooking.vo.BusinessOpportunityVO;
import com.eastfair.venuebooking.vo.SpaceLeaseStatisticsTotalVO;
import com.eastfair.venuebooking.vo.StatisticalAnalysisTotalVO;

import java.util.List;

public interface StatisticalAnalysisService {

    /**
     * 销售分析数据
     *
     * @return
     */
    StatisticalAnalysisTotalVO getStatisticalAnalysisTotalData(SalesAnalysisDTO salesAnalysisDTO);


    SpaceLeaseStatisticsTotalVO getSpaceLeaseStatisticsTotalData(SalesAnalysisDTO salesAnalysisDTO);


    SpaceLeaseStatisticsTotalVO getSpaceLeaseStatisticsTotalArea(SalesAnalysisDTO salesAnalysisDTO);
    /**
     * 获取某个销售阶段数据集合
     *
     * @return
     */
    IPage<BusinessOpportunityVO> getStatisticalAnalysisByCode(PageParams<SalesAnalysisDTO> pageParams);

}
